package reflect;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome(1);
        doSome(1,"ming");
        doSome(1,"ming","tian");
        doSome(1,"ming","tian","hiu");
        doSome(1,"ming","tian","hiu","geng");
        doSome(1,"ming","tian","hiu","geng","hao");

    }

    public static void doSome(int a,String... args){
        System.out.println(args.length);
    }
}
